
#ifndef RESEARCH_TECH_H_
#define RESEARCH_TECH_H_

#include  "Behavior.h"
#include <BWAPI.h>

class ResearchTech : public Behavior
{
public:
	ResearchTech(BWAPI::TechType typ, std::string incName = "ResearchTech") :	Behavior(incName),
																				type(typ),
																				upgrader(NULL)
	{ }
	
	void Enter();
	void Execute();
	void Exit();

	bool CheckConditions();

private:
	BWAPI::TechType type;
	BWAPI::Unit* upgrader;
};

#endif
